package com.rickpan.dto.zhipuai;

/**
 * 智谱AI消息DTO
 */
public class ZhipuAIMessage {

    private String role;
    private String content;

    // 构造函数
    public ZhipuAIMessage() {}

    public ZhipuAIMessage(String role, String content) {
        this.role = role;
        this.content = content;
    }

    // Getter 和 Setter 方法
    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "ZhipuAIMessage{" +
                "role='" + role + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
